package com.tudouji.project.harvest.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 采收货运单扣杂标准对象 forderstandard
 *
 * @author tudouji
 * @date 2022-10-27
 */
public class Forderstandard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String guid;

    /** 采收后运单id */
    @Excel(name = "采收后运单id")
    private String forderid;

    /** 扣杂标准id */
    @Excel(name = "扣杂标准id")
    private String standardid;

    /** 扣杂标准名字 */
    @Excel(name = "扣杂标准名字")
    private String standard;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 质检结果百分比 */
    @Excel(name = "质检结果百分比")
    private BigDecimal qaresult;

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid()
    {
        return guid;
    }
    public void setForderid(String forderid)
    {
        this.forderid = forderid;
    }

    public String getForderid()
    {
        return forderid;
    }
    public void setStandardid(String standardid)
    {
        this.standardid = standardid;
    }

    public String getStandardid()
    {
        return standardid;
    }
    public void setStandard(String standard)
    {
        this.standard = standard;
    }

    public String getStandard()
    {
        return standard;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setQaresult(BigDecimal qaresult)
    {
        this.qaresult = qaresult;
    }

    public BigDecimal getQaresult()
    {
        return qaresult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("forderid", getForderid())
            .append("standardid", getStandardid())
            .append("standard", getStandard())
            .append("price", getPrice())
            .append("qaresult", getQaresult())
            .toString();
    }
}
